<?php
global $_RQ,$_AR;
//判断是否来自场景体,底部菜单不变
if($_RQ['plugin_name']){
	$this->session('plugin_name',$_RQ['plugin_name']);
}
$plugin_name=$this->session('plugin_name')?$this->session('plugin_name'):'';
if($plugin_name){
	$return['footernav']=$this->plugin($plugin_name)->plugin_setting('basic')['footernav'];
}
$return['pluginset']=$this->plugin_setting('basic');
$return['pluginset']['logo']=tomedia($return['pluginset']['logo']);
if($_RQ['role']){
	$_SESSION['role']=$_RQ['role'];
}
if(!$_RQ['role'] && $_RQ['action']!='checkuser' && $_RQ['action']!='login' && !$_SESSION['role'] && $_SESSION['uid']){
	exi('','','jy_51job/checkuser/');
}
?>